package dancetwotiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DanceActivitiesDrawBigGuarantee 抽奖活动大保底表
type DanceActivitiesDrawBigGuarantee struct {
	Id               int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	ActivitiesId     int64          `json:"activitiesId" gorm:"column:activities_id;type:bigint;default:0;not null;comment:活动id"`              // 开始时间
	BolusNum         int64          `json:"bolusNum" gorm:"column:bolus_num;type:bigint;default:0;not null;comment:药丸数量"`                    // 药丸数量
	IsGiveCP         int64          `json:"isGiveCP" gorm:"column:is_give_cp;type:bigint;default:0;not null;comment:是否赠送CP"`                 //是否赠送CP
	ElementPackageId int64          `json:"elementPackageId" gorm:"column:element_package_id;type:bigint;default:0;not null;comment:保底散件包"` //保底散件包
	EffectTime       int64          `json:"effectTime" gorm:"column:effect_time;type:bigint;default:0;not null;comment:时效"`                    // 时效 ：小时
	CreatedId        int64          `json:"created_id" gorm:"column:created_id;type:bigint;default:0;not null;comment:创建人id"`                 // 创建人id
	CreatedAt        time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt        time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt        gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
